package com.jyxd.web.dao.hl7;

import com.jyxd.web.data.hl7.Hl7HomologousLife;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface Hl7HomologousLifeDao {
    /**
     * 新增一条表记录
     *
     * @param hl7HomologousLife
     * @return boolean
     */
    boolean insert(Hl7HomologousLife hl7HomologousLife);

    /**
     * 根据主键id查询一条记录
     *
     * @param id
     * @return BloodGas
     */
    Hl7HomologousLife queryData(String id);

    /**
     * 查询全部数据
     *
     * @return
     */
    List<Hl7HomologousLife> queryAllData();


    /**
     *
     *
     * @param hl7HomologousLife
     * @return boolean
     */
    boolean update(Hl7HomologousLife hl7HomologousLife);

    /**
     * 根据条件查询列表总记录数
     *
     * @param map
     * @return
     */
    int queryNum(Map<String, Object> map);
}
